.class Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$4;
.super Landroid/widget/ArrayAdapter;
.source "SimpleFileDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->createListAdapter(Ljava/util/List;)Landroid/widget/ArrayAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/widget/ArrayAdapter<",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;Landroid/content/Context;IILjava/util/List;)V
    .locals 0

    .line 342
    iput-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$4;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-direct {p0, p2, p3, p4, p5}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;IILjava/util/List;)V

    return-void
.end method


# virtual methods
.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 1

    .line 346
    invoke-super {p0, p1, p2, p3}, Landroid/widget/ArrayAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    .line 347
    instance-of p2, p1, Landroid/widget/TextView;

    if-eqz p2, :cond_0

    .line 350
    move-object p2, p1

    check-cast p2, Landroid/widget/TextView;

    .line 351
    invoke-virtual {p2}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    const/4 v0, -0x2

    iput v0, p3, Landroid/view/ViewGroup$LayoutParams;->height:I

    const/4 p3, 0x0

    .line 352
    invoke-virtual {p2, p3}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    :cond_0
    return-object p1
.end method
